<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>24小时-虎嗅网</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta name="renderer" content="webkit">
    <meta name="baidu-site-verification" content="R9XA5lWxu2" />
    <meta name="author" content="虎嗅网">
    <meta name="keywords" content="科技资讯,商业评论,明星公司,动态,宏观,趋势,创业,精选,有料,干货,有用,细节,内幕">
    <meta name="description" content="虎嗅网是一个有视角的、个性化商业资讯与交流平台，核心关注对象是包括公众公司与创业型企业在内的一系列明星公司">
    <meta name="base-static-url" content="https://statics.huxiu.com/w/mini">
        <link rel="stylesheet" type="text/css" href="/hx/web/public/Home/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/hx/web/public/Home/css/build.css">
    <link rel="stylesheet" type="text/css" href="/hx/web/public/Home/css/messenger.css">
    <link rel="stylesheet" type="text/css" href="/hx/web/public/Home/css/messenger-theme-flat.css">
    <link rel="stylesheet" type="text/css" href="/hx/web/public/Home/css/vip-icon.css">
    <link rel="stylesheet" type="text/css" href="/hx/web/public/Home/css/nanoscroller.css">
    <link rel="stylesheet" type="text/css" href="/hx/web/public/mycss/head.css">

    
    <link rel="stylesheet" href="/hx/web/public/mycss/user_info.css">



        <!--[if lt IE 9]>
    <script src="/hx/web/public/Home/js/respond.min.js"></script>
    <script src="/hx/web/public/Home/js/html5shiv.min.js"></script>
    <![endif]-->
    <link rel="apple-touch-icon" size="72x72" href="https://statics.huxiu.com/w/mini/static_2015/img/icon-ipad.png" />
    <link rel="apple-touch-icon" size="114x114" href="https://statics.huxiu.com/w/mini/static_2015/img/icon-iphone4.png" />
    <link rel="icon" href="https://statics.huxiu.com/w/mini/static_2015/img/favicon.ico">
    <link rel="icon" href="https://statics.huxiu.com/w/mini/static_2015/img/favicon.ico" type="image/x-icon" />

    <script>
        var uid='0';
        var is_vip='';
        var huxiu_hash_code='27ab1e6d0b9252b75cefec3c71dbcfba';
        var aid=0;

        var itemId = '1';
        var signAna = '708eeb2d7aae3b3c7b5524e9f6fa12f58a896f1c';
        var signTime = '1469447551';
        var productId = '11';

        var cookiepre='HUXIU_016a_';
        var _hmt = _hmt || [];
        _hmt.push(['_setAccount', '324368ef52596457d064ca5db8c6618e']);
        var isLogin = "noLogin";
        _hmt.push(['_setCustomVar', 1, 'login', isLogin, 2]);
    </script>
    <script data-app="ewogICJjb21tb24iOiB7CiAgICAiYXBwa2V5IjogIjE5OTUiLAogICAgInVzZUN1c3RvbVRva2VuIjogZmFsc2UsCiAgICAic2NlbmUiOiAiYmJzIiwKICAgICJmb3JlaWduIjogMAogIH0sCiAgInVhYiI6IHsKICAgICJFeFRhcmdldCI6IFsKICAgICAgInB3ZGlkIgogICAgXSwKICAgICJ1c2VDdXN0b21Ub2tlbiI6IGZhbHNlLAogICAgIkZvcm1JZCI6ICJteV9mb3JtIiwKICAgICJMb2dWYWwiOiAidWFfbG9nIiwKICAgICJTZW5kSW50ZXJ2YWwiOiAyMCwKICAgICJTZW5kTWV0aG9kIjogMywKICAgICJNYXhNQ0xvZyI6IDE1MCwKICAgICJNYXhLU0xvZyI6IDE1MCwKICAgICJNYXhNUExvZyI6IDE1MCwKICAgICJNYXhHUExvZyI6IDUsCiAgICAiTWF4VENMb2ciOiAxNTAsCiAgICAiR1BJbnRlcnZhbCI6IDUwLAogICAgIk1QSW50ZXJ2YWwiOiA1MCwKICAgICJNYXhGb2N1c0xvZyI6IDE1MCwKICAgICJpc1NlbmRFcnJvciI6IDEsCiAgICAiSW1nVXJsIjogIi8vY2ZkLmFsaXl1bi5jb20vY29sbGVjdG9yL2FuYWx5emUuanNvbnAiLAogICAgIkdldEF0dHJzIjogWwogICAgICAiaHJlZiIsCiAgICAgICJzcmMiCiAgICBdLAogICAgIkZsYWciOiAxOTY1NTY3CiAgfSwKICAidW1pZCI6IHsKICAgICJ0aW1lb3V0IjogMzAwMCwKICAgICJ0aW1lc3RhbXAiOiAiJCF0aW1lc3RhbXAiLAogICAgInRva2VuIjogIiQhdG9rZW4iLAogICAgInNlcnZpY2VVcmwiOiAiaHR0cHM6Ly95bnVmLmFsaXBheS5jb20vc2VydmljZS91bS5qc29uIiwKICAgICJhcHBOYW1lIjogIiQhYXBwTmFtZSIsCiAgICAiY29udGFpbmVycyI6IHsKICAgICAgImZsYXNoIjogImNvbnRhaW5lciIsCiAgICAgICJkY3AiOiAiY29udGFpbmVyIgogICAgfQogIH0KfQ=="  src="/hx/web/public/Home/js/pt.js"></script>
    <script type="text/javascript" src="/hx/web/public/Home/js/get.js"></script>
    <style type="text/css">
    #down{
        width:160px;
    }
    </style>

</head>

<div class="message-prompt"></div>
<body>
<script>
    function checkinput(){
        var input = $("#search-input").val();
        if(input ==  null || input == ''){
            return false;
        }
        return true;
    }
</script>
<div id="login-reg-warp" class="login-reg-warp-modal">

</div>
<div class="search-box" id="search-box">
    <i class="icon icon-search-close js-show-search-box"></i>

    <div class="search-content">

        <div class="search-input">
            <form role="search" method="get" action="<?php echo U('Search/search');?>" onsubmit="return checkinput()">
                <button type="submit"></button>
                <input placeholder="请输入关键字" name="title" id="search-input">
            </form>
        </div>
    </div>
</div>

<!-- 头条 -->
<header id="top" role="banner">
    <div class="container">
        <div class="navbar-header">
            <a href="<?php echo U('Index/index');?>">
                <img src="/hx/web/public/Home/picture/logo.jpg" alt="虎嗅网" />
            </a>
        </div>
        <ul class="nav navbar-nav navbar-left">
            <li class="nav-news js-show-menu">
                <div class="header-column header-column-zx menu-box" onmouseover="isOut=false" onmouseout="isOut=true">
                    <?php if(is_array($category)): $i = 0; $__LIST__ = $category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><a href="<?php echo U('List/index', array('cid'=>$v['id']));?>" target="_blank" class="transition"><?php echo ($v['cname']); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
                </div>
                <a href="javascript:">资讯 <span class="caret"></span></a>

            </li>
            <?php if(is_array($cate)): $i = 0; $__LIST__ = $cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('List/index', array('cid'=>$value['id']));?>" target="_blank"><?php echo ($value['cname']); ?><em class="nums-prompt nums-prompt-topic"></em></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
            <li><a href="<?php echo U('Pubu/index');?>" target="_blank">美图</a></li>
            <!-- <li><a href="/chuangye" target="_blank">创业白板<em class="nums-prompt"></em></a></li> -->
        </ul>

        <ul class="nav navbar-nav navbar-right">
            <li class="app-guide js-app-guide" >
                <div class="app-guide-box">
                    <img src="/hx/web/public/imgs/1448211685.jpg">
                    <div class="app-guide-title">
                        <span>微信扫一扫</span><br>
                        <span>下载虎嗅客户端</span>
                    </div>
                </div>
                <i class="icon icon-sm-phone"></i>客户端<em class="guide-prompt"></em>
            </li>
            <li class="search-li js-show-search-box"><i class="icon icon-search "></i><span>搜索</span></li>


          <?php if (empty($_SESSION['user']['name'])): ?>
              <li><a href="<?php echo U('Login/login');?>">登录</a></li>
              <li><a href="<?php echo U('Login/register');?>" data-type="reg">注册</a></li>
          <?php else: ?>
              <li class="nav-news js-show-menu" style ="margin-right:80px;">
                  <div class="header-column header-column-zx menu-box" onmouseover="isOut=false" onmouseout="isOut=true">

                      <a href="<?php echo U('User/index');?>" target="_blank" class="transition">个人中心</a>
                      <a href="<?php echo U('User/index');?>" target="_blank" class="transition">文章回复</a>
                      <a href="<?php echo U('Mymessage/bbs');?>" target="_blank" class="transition">系统通知</a>
                      <a href="<?php echo U('Mymessage/privatemsg');?>" target="_blank" class="transition">私信</a>
                      <a href="<?php echo U('Admin/Index/index');?>" target="_blank" class="transition">进入后台</a>
                      <a href="<?php echo U('Login/logout');?>" class="transition">退出登录</a>

                  </div>
                  <a id="down" href="javascript:"><?php echo ($_SESSION['user']['name']); ?><span class="caret"></span>
                   </a>
              </li>
          <?php endif ?>
            <li><a href="<?php echo U('Contribute/index');?>" target="_blank">投稿</a></li>
        </ul>
    </div>
</header><!-- end nav -->
<div id="login-reg-warp" class="login-reg-warp-modal"></div>


<div class="container-fluid">
<!-- 用户信息start-->
    <div class="mt80"></div>
    <div class="row" id="user_box">
    <!-- 用户头像  start-->
        <div  class="col-md-4 w-l">
            <div class="img_box mt20" >
            <?php if(empty($_SESSION['user']['headimg_id'])): ?><!-- 图像为空时,显示默认头像 -->
                <a href="<?php echo U('User/account_info');?>">
                <img src="/hx/web/public/imgs/head_img.jpg" class="headimg center">
                </a>
            <?php else: ?>
            <a href="<?php echo U('User/account_info');?>">
            <img src="/hx/web/Uploads/<?php echo ($_SESSION['user']['img_200']); ?>" class="headimg center">
            </a><?php endif; ?>
            </div>
            <div id="name" class="head_msg"><?php echo ($_SESSION['user']['name']); ?></div>

            <div id="ps_introduce" class="head_msg ">

           <a><?php echo empty($_SESSION['user']['self_intro'])? '添加一句话介绍':$_SESSION['user']['self_intro'];?></a>
            <!-- <a>添加一句话介绍</a> -->

            <!-- <a><?php echo ($_SESSION['user']['self_intro']); ?></a> -->


            </div>

            <div class="center" id="ps_edit">
                 <input type="text" style="text-align:center" class="center" name="self_intro" id="oneword">
            </div>
            <div  class="row  center" id="btn">
                <div id="save" class="btn-left"><a class="left">保存</a></div>
                <div class="btn-right" id="cancel"><a>取消</a></div>
            </div>

        </div>
        <!-- 用户头像 end -->

        <!-- 用户基本数据 -->
        <div  class="col-md-8">
            <div class=" user_data">
                <div class="col-md-1"></div>
                <div class="col-md-4 ">
                    <li>公司: <span><?php echo ($_SESSION['user']['company']); ?></span></li>
                    <li>职业: <span><?php echo ($_SESSION['user']['job']); ?></span></li>
                    <li>邮箱: <span><?php echo ($_SESSION['user']['email']); ?></span></li>
                </div>
                <div class="col-md-1"></div>

                <div class="col-md-6 mt20">
                    <li>微博: <span>未填写</span></li>
                    <li>微信: <span>未填写</span></li>
                </div>
            </div>

            <div class="btn_box">
            <div class="fl ml20  center">
                <a class="more">更多<span class="glyphicon glyphicon-triangle-bottom"> </span></a> 
            </div>
            

            <a class="btn btn-info fr" href="<?php echo U('User/edit');?>">修改基础资料</a>

            </div>
        </div>
        <!-- 用户基本信息结束 -->
    </div>
    <!-- 用户消息 end -->
        <div class="clear"></div>
        <!-- 下拉模块 start -->
        <div id="pull_down" class="border-1 center">
            <div class="p-l"></div>
            <div class="p-r">
                <li>年级: <span class="glyphicon glyphicon-align-justify "></span> 0</li>
                <li>经验值:<span>5</span></li>
                <li>嗅豆:<span><?php echo ($_SESSION['user']['score']); ?>枚</span></li>

            </div>
        </div>
        <!-- 下拉模块 end -->

    <!-- 用户消息信息  start-->
    <div class="row">
        <div class="user_menu center">
        <div id="user_menu" name="user_menu"></div>

            <div class="user-menu-warp">
                <div class="menu-warp">
                    <ul>
                        <li class=""><a href="<?php echo U('User/index');?>">我的消息</a></li>
                            <li class=""><a href="<?php echo U('Myarticle/article');?>">我的文章</a></li>
                            <li class="active"><a href="<?php echo U('Mycomment/comment');?>">我的评论</a></li>
                            <li class=""><a href="<?php echo U('Mycollect/collect');?>">我的收藏</a></li>
                            <!-- <li class=""><a href="<?php echo U('Myattention/attention');?>">我的关注</a></li>
                            <li class=""><a href="<?php echo U('Myorder/order');?>">我的订单</a></li> -->
                        </ul>
                </div>
                <div class="user-content-warp">
                    <ul class="nav-box">
                        <li class=""><a href="<?php echo U('Mycomment/comment');?>">评论
                        <?php if(empty($comment_count)): ?>（0）
                        <?php else: ?>
                        （<?php echo ($comment_count); ?>）<?php endif; ?>

                        </a></li>
                        <li class="active"><a href="<?php echo U('Mycomment/remark');?>">点评
                            <?php if(empty($remark_count)): ?>（0）
                            <?php else: ?>
                        （<?php echo ($remark_count); ?>）<?php endif; ?>
                        </a></li>
                    </ul>

                    <div class="message-box">
                    <?php if(empty($_SESSION['reply_comments'])): ?><div style="font-size:20px; margin-top:10px; margin-left:10px;">
                        您的点评为空!
                    </div><?php endif; ?>
                    <?php if(is_array($_SESSION['reply_comments'])): $i = 0; $__LIST__ = $_SESSION['reply_comments'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><ul>
                            <li type="recomment" cid="86584">
                                <blockquote><?php echo ($v['c_content']); ?></blockquote>
                                    <div class="message-title"><span class="me-dp">我的点评：</span><a href="<?php echo U('Article/index',array('aid'=>$v['id']));?>" target="_blank"><?php echo ($v['rep_msg']); ?></a></div>
                                    <div class="message-time">
                                           <?php
 $time = time()-$v['time']; if ($time < 60) { echo '刚刚'; } elseif ($time < 3600) { echo date('i',$time).'分钟前'; } elseif ($time <86400){ echo date('h',$time).'小时前'; } elseif ($time <604800) { echo date('d',$time).'天前'; } else { echo date('Y-m-d h:i:s',$time); } ?>


                                    <span class="message-article">来自文章：<a href="<?php echo U('Article/index',array('aid'=>$v['id']));?>" target="_blank"><?php echo ($v['title']); ?></a></span>
                                    </div>
                                    <div class="pull-right message-delete hide"><i class="icon icon-delete js-pc-del-user"></i></div>
                            </li>
                        </ul><?php endforeach; endif; else: echo "" ;endif; ?>



                        <nav class="page-nav"><ul class="pagination"><li class="disabled"><a href="http://www.huxiu.com/member/1510548/postcomment.html#" aria-label="First"><span aria-hidden="true"><i class="icon icon-first"></i></span></a></li><li class="disabled"><a href="http://www.huxiu.com/member/1510548/postcomment.html#" aria-label="Previous"><span aria-hidden="true"><i class="icon icon-lt"></i></span></a></li><li class="active"><a>1</a></li><li class="disabled"><a href="http://www.huxiu.com/member/1510548/postcomment.html#" aria-label="Next"><span aria-hidden="true"><i class="icon icon-gt"></i></span></a></li><li class="disabled"><a href="http://www.huxiu.com/member/1510548/postcomment.html#" aria-label="Last"><span aria-hidden="true"><i class="icon icon-last"></i></span></a></li></ul></nav>    

                </div>
                    </div>  
        </div>
    </div>
    <!-- 用户消息信息 end -->
</div>
<!-- <div style="width:200px;height:5px; clear:both; margin-top:1550px;" ></div> -->




<script>
    var url="<?php echo U('User/doAjax');?>";
</script>
<script src="/hx/web/public/js/jquery.min.js"></script>
<script src="/hx/web/public/myjs/ps.js"></script>





<script src="/hx/web/public/js/jquery.min.js"></script>
<script src="/hx/web/public/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/hx/web/public/Home/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/hx/web/public/Home/js/jquery.detection.js"></script><!--埋点统计-->
<script type="text/javascript" src="/hx/web/public/Home/js/sea.js"></script>
<script type="text/javascript" src="/hx/web/public/myjs/head.js"></script>
<script>
    var base_static_url = $('meta[name="base-static-url"]').attr('content');
    seajs.config({
        base: (!!base_static_url) ? base_static_url + '/static_2015/js/' : '/static_2015/js/',
        comboSyntax: ['??', ','],
        alias: {
            'jquery': 'jquery-1.11.1.min',
            'bootstrap': 'bootstrap.min',
            'sea_combo_flush': 'sea_combo_flush.js',
            'cookie': 'jquery.cookie',
            's_css': 'seajs_css'
        },
        'map': [
            [/^(.*\.(?:css|js))(.*)$/i, '$1?201607151142']
        ],
        charset: 'utf-8'
    });
    seajs.use(['init']);
</script>
<script type="text/javascript" src="/hx/web/public/Home/js/seajs_css.js"></script>
<!-- 广告位：首页顶部通栏-新版虎嗅 -->
<script src="/hx/web/public/Home/js/ds.js"></script>
<script src="/hx/web/public/js/bootstrap.min.js"></script>
<script>
if($('.top-box-ad-banner').length>0){
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        var div = document.createElement('div');
        div.id = s;
        (window.slotbydup=window.slotbydup || []).push({
            id: '1129534',
            container: s,
            size: '1170,80',
            display: 'inlay-fix'
        });
        $('.top-box-ad-banner').append(div);
    })();
    }
</script>

<script type="text/javascript">
    var m = 1;
    $('#load').click(function(){
        // console.log($('#article'));
        $.ajax({
            type:'post',
            url:"<?php echo U('Index/indexAjax');?>",
            data:'m='+m,
            dataType:'json',
            success: function(data){
                // console.log(data);
                if (data == null) {
                    $('#load').remove();
                } else{
                    for (var i = 0; i < data.length; i++) {
                        $('#article').append('<div class="mod-b mod-art"><a href="" class="column-link cname'+data[i]["aid"]+'" target="_blank">'+data[i]['cname']+'</a><div class="mod-thumb"><a class="transition img'+data[i]["aid"]+'" href="" target="_blank"><img class="lazy" src="/hx/web/Uploads/'+data[i]['img']+'"></a></div><div class="mob-ctt"><h3><a href="" class="transition title'+data[i]["aid"]+'" target="_blank">'+data[i]['title']+'</a></h3><div class="mob-author"><div class="author-face"><a href="" target="_blank" class="name'+data[i]["aid"]+'"><img src="/hx/web/Uploads/'+data[i]['img_40']+'"></a></div><a href="" target="_blank" class="name"><span class="author-name ">'+data[i]['name']+'</span></a><a href="/vip" target="_blank"></a><span class="time">'+data[i]['time']+'</span><i class="icon icon-cmt"></i><em>0</em><i class="icon icon-fvr"></i><em>'+data[i]['zan']+'</em></div><div class="mob-sub">'+data[i]['motto']+'</div></div></div>');
                        $('#load').html('点击加载更多');
                        $('.cname'+data[i]["aid"]).attr('href', '/hx/web/index.php/Home/List/index/cid/'+data[i]['cid']);
                        $('.img'+data[i]["aid"]).attr('href', '/hx/web/index.php/Home/Article/index/aid/'+data[i]['aid']);
                        $('.title'+data[i]["aid"]).attr('href', '/hx/web/index.php/Home/Article/index/aid/'+data[i]['aid']);
                        $('.name'+data[i]["aid"]).attr('href', '/hx/web/index.php/Home/Writercenter/index/uid/'+data[i]['uid']);
                    }
                }
                m++;
            },
        })
    })

    setInterval(function(){
        $('#news li').last().hide().fadeTo(0,0).prependTo('#news ul').fadeTo(2000,1).slideDown(3000);
    },5000)
    
    // // var a=$('.shortbox').eq(4);
    // // console.log($('#shortbox').height());
    // // console.log($('.shortbox').eq(0).height());
    // var boxHeight = $('#shortbox').height();
    // var box = $('.shortbox').eq(0).height();
    // var a = 5;
    // $('#shortbox').scroll(function(){
    //     // console.log($('#shortbox').scrollTop());
    //     // console.log($('.shortbox').eq(a-1)[0]['offsetTop']);
    //     var scrollTop = $('#shortbox').scrollTop();
    //     var offsetTop = $('.shortbox').eq(a-1)[0]['offsetTop'];

    //     // console.log(offsetTop + box);
    //     // console.log(scrollTop+ boxHeight);
    //     if ((offsetTop + box) < (scrollTop+ boxHeight)) {
    //         $.ajax({
    //             type:'post',
    //             url:"<?php echo U('Index/shortAjax');?>",
    //             data:'a='+a,
    //             dataType:'json',
    //             success: function(data){
    //                 // console.log(data);
    //                 // a=a+5;
    //             }
    //         })
    //     }
    // })

</script>


    

</body>
</html>